package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.GradeEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-11 11:12:11
 */
public interface GradeService {
	
	GradeEntity queryObject(String code);
	
	List<GradeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(GradeEntity grade);
	
	void update(GradeEntity grade);
	
	void delete(String code);
	
	void deleteBatch(String[] codes);

	List<GradeEntity> findAllGrade();
}
